﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SHZY.Common.Const;
using SHZY.Common.Contracts;
using SqlSugar;

namespace SHZY.BaseData.Entitys
{

    /// <summary>
    /// 制程检验员分配.
    /// </summary>
    [SugarTable("qms_base_ipqcinspector", "制程检验员分配")]
    [Tenant(ClaimConst.TENANTID)]
    public class QmsBaseIpqcinspectorEntity : CLDEntityBase
    {
        /// <summary>
        /// 报检类型(抽检（C）巡检（X）首检（S）)
        /// </summary>
        [SugarColumn(ColumnName = "F_Type", ColumnDescription = "报检类型(抽检（C）巡检（X）首检（S）)")]
        public string Type { get; set; }

        /// <summary>
        /// ⽣产建模: ⻋间、班组、⼯段、⼯位 任选其⼀即可.
        /// </summary>
        [SugarColumn(ColumnName = "F_WorkshopId", ColumnDescription = "⽣产建模: ⻋间、班组、⼯段、⼯位 任选其⼀即可")]
        public string WorkshopId { get; set; }

        /// <summary>
        /// ⽣产建模: ⻋间、班组、⼯段、⼯位 任选其⼀即可.
        /// </summary>
        [SugarColumn(ColumnName = "F_TeamId", ColumnDescription = "⽣产建模: ⻋间、班组、⼯段、⼯位 任选其⼀即可")]
        public string TeamId { get; set; }

        /// <summary>
        /// ⽣产建模: ⻋间、班组、⼯段、⼯位 任选其⼀即可.
        /// </summary>
        [SugarColumn(ColumnName = "F_WorkshopSectionId", ColumnDescription = "⽣产建模: ⻋间、班组、⼯段、⼯位 任选其⼀即可")]
        public string WorkshopSectionId { get; set; }

        /// <summary>
        /// ⽣产建模: ⻋间、班组、⼯段、⼯位 任选其⼀即可.
        /// </summary>
        [SugarColumn(ColumnName = "F_StationId", ColumnDescription = "⽣产建模: ⻋间、班组、⼯段、⼯位 任选其⼀即可")]
        public string StationId { get; set; }

        /// <summary>
        /// 工艺路线.
        /// </summary>
        [SugarColumn(ColumnName = "F_ArtrouteId", ColumnDescription = "工艺路线-工序 任选其⼀即可")]
        public string ArtrouteId { get; set; }

        /// <summary>
        /// 工序.
        /// </summary>
        [SugarColumn(ColumnName = "F_ProcessId", ColumnDescription = "工艺路线-工序 任选其⼀即可")]
        public string ProcessId { get; set; }

        /// <summary>
        /// 物料.
        /// </summary>
        [SugarColumn(ColumnName = "F_MaterialCode", ColumnDescription = "物料")]
        public string MaterialCode { get; set; }

        /// <summary>
        /// 物料组 物料组—物料   任选其⼀即可.
        /// </summary>
        [SugarColumn(ColumnName = "F_MaterialGroupCode", ColumnDescription = "物料组 物料组—物料   任选其⼀即可")]
        public string MaterialGroupCode { get; set; }

        /// <summary>
        /// 员工号.
        /// </summary>
        [SugarColumn(ColumnName = "F_EmployeeCode", ColumnDescription = "员工号")]
        public string EmployeeCode { get; set; }
    }
}
